angular.module('faApp').service('licaishiManagerService', [ 'ajaxService',function (ajaxService) {

    this.list = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("LICAISHI_MANAGER_USER_LIST"),cfg || {});
    };

    this.otherList = function (cfg) {
        return ajaxService.post(ajaxService.getApiUri("LICAISHI_MANAGER_USER_LIST_OTHER"),cfg || {});
    };

    this.notLicaishiManagerUserList = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("NOT_LICAISHI_MANAGER_USER_LIST"),cfg || {});
    };

    this.licaishiManagerUserAdd = function (user) {
      return ajaxService.post(ajaxService.getApiUri("LICAISHI_MANAGER_USER_ADD"),user || {});
    };

    this.managerLicaishiUserAdd = function (manageLicaishi) {
      return ajaxService.post(ajaxService.getApiUri("MANAGER_LICAISHI_USER_ADD"),manageLicaishi || {});
    };

    this.huishouManagerLicaishiByUser = function(cfg){
      return ajaxService.post(ajaxService.getApiUri("MANAGER_LICAISHI_HUISHOU_BY_USER"),cfg || {});
    }
}]);

